let LocalStorageUtil = {}

LocalStorageUtil.setItem = function(key,value) {
    window.localStorage.setItem(key,value);
}

LocalStorageUtil.getItem = function (key) {
    var value = window.localStorage.getItem(key);
    return value;
};

LocalStorageUtil.getToken = () => {
    let token = LocalStorageUtil.getItem('token')
    return token
}

export default LocalStorageUtil;